const circles = m => require.ensure([],()=>m(require('@/components/circles/index')),'circles')  //学者圈
const home = m => require.ensure([],()=>m(require('@/components/circles/home')),'home')  //个人主页
const detail = m => require.ensure([],()=>m(require('@/components/circles/detail')),'detail')  //动态详情页
const chatList = m => require.ensure([],()=>m(require('@/components/circles/chatList')),'chatList')  //聊天列表页
const chat = m => require.ensure([],()=>m(require('@/components/circles/chat')),'chat')  //聊天
const write = m => require.ensure([],()=>m(require('@/components/circles/writeAnArticle')),'write')  //写文章
export const circlesList = [
    {
        name: 'circles',
        path: '/circles',
        component: circles
    },
    {
        name: 'home',
        path: '/home',
        component: home
    },
    {
        name: 'detail',
        path: '/detail',
        component: detail
    },
    {
        name: 'chatList',
        path: '/chatList',
        component: chatList
    },
    {
        name: 'chat',
        path: '/chat/:sendUserId/:recvUserId',
        component: chat
    },
    {
        name: 'write',
        path: '/write',
        component: write
    }
]